package com.csd.action.teacher;

import com.csd.helper.ActionResult;
import com.csd.pojo.Project;
import com.csd.serviceImpl.ProjectService;

/**
 * 
 * 项目信息展示Action类
 * 
 * @author 尹华彬
 * @version 1.0
 * 
 * <br>
 *          修订时间：2009-12-17 <br>
 *          修改原因：创建文件 <br>
 *          修改人：尹华彬
 * 
 * <br>
 * 
 */
public class ProjectInfoShowAction {
	// 项目ID
	private Integer projectID;
	
	private Project project;
	
    private ProjectService projectService;
    //action调用后的返回页面的上一页面
    private String returnPage;
    //评审项ID
    private String evaluteID;
    
	public String getEvaluteID() {
		return evaluteID;
	}

	public void setEvaluteID(String evaluteID) {
		this.evaluteID = evaluteID;
	}

	public String getReturnPage() {
		return returnPage;
	}

	public void setReturnPage(String returnPage) {
		this.returnPage = returnPage;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public Integer getProjectID() {
		return projectID;
	}

	public void setProjectID(Integer projectID) {
		this.projectID = projectID;
	}

	public ProjectService getProjectService() {
		return projectService;
	}

	public void setProjectService(ProjectService projectService) {
		this.projectService = projectService;
	}

	public String execute() {
		// 通过项目ID查出项目详细信息
        project = projectService.getProjectByID(projectID);
		return ActionResult.success;
	}

	
}
